#include "project.h"

void Stop(int signum);

int main() {
    if (Project_Init()) {
        signal(SIGINT, Stop);
        Page_Navigate();
    }

    Project_Free();
    return 0;
}

void Stop(int signum) {
    printf("\nExit code: %d\n", signum);
    Project_Free();
    exit(signum);
}
